package com.sgb.knowledgeshare.view.adapter;

import android.content.Context;
import com.sgb.knowledgeshare.BR;
import com.sgb.knowledgeshare.R;
import com.sgb.knowledgeshare.entity.TabelListEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;
import java.util.List;

/**
 * Created by：冯齐 on 2021/1/28 18:30
 * Description： 弹窗标签列表展示
 */
public class LabelListAdapter extends BaseRecycleAdapter<TabelListEntity> {

    public LabelListAdapter(Context context, List<TabelListEntity> datas) {
        super(context, R.layout.item_label_list_textview, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, TabelListEntity bean) {
        holder.setBinding(BR.viewModel, bean);
    }
}
